package net.dlz.example.domain;

import java.util.List;

public class SearchAnnounceResponse {
    private Long total;
    private List<Announce> announces;

    public SearchAnnounceResponse() {
    }

    public SearchAnnounceResponse(Long total, List<Announce> announces) {
        this.total = total;
        this.announces = announces;
    }
    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<Announce> getAnnounces() {
        return announces;
    }

    public void setAnnounces(List<Announce> announces) {
        this.announces = announces;
    }
}